package org.dromara.system.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.system.domain.WbMinuteBidBag;
import org.dromara.system.domain.bo.WbMinuteBidBagBo;
import org.dromara.system.domain.dto.NumDTO;
import org.dromara.system.domain.dto.WbMinuteBidBagDTO;
import org.dromara.system.domain.vo.WbMinuteBidBagVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.system.domain.vo.WbProvinceVo;

import java.util.List;

/**
 * 分标分包Mapper接口
 *
 * @author Lion Li
 * @date 2024-03-22
 */
public interface WbMinuteBidBagMapper extends BaseMapperPlus<WbMinuteBidBag, WbMinuteBidBagVo> {

    int insertExcelList(List tbZbzsList);

    Page<WbMinuteBidBagVo> queryBidList(WbMinuteBidBagBo bo,String provinceName, Page<Object> build);

    int queryListSum(WbMinuteBidBagBo bo, PageQuery pageQuery);

    IPage<WbMinuteBidBagDTO> queryListMinuteBidBag(WbMinuteBidBagBo bo, Page<Object> build);

    Page<WbMinuteBidBagVo> querySysemMinuteBidBagList(WbMinuteBidBagBo bo, Page<Object> build);

    List<WbMinuteBidBagVo> queryMinuteBidBagExportList(WbMinuteBidBagBo bo);

    List<WbProvinceVo> queryListSift(WbMinuteBidBagBo bo, Page<Object> build);

    List<String> queryListSiftItemName(WbMinuteBidBagBo bo, Page<Object> build);

    List<String> queryListSiftProductName(WbMinuteBidBagBo bo, Page<Object> build);

    Page<WbMinuteBidBagVo> selectVoPageZdy(Long userId,@Param("page") Page<Object> build, @Param(Constants.WRAPPER) LambdaQueryWrapper<WbMinuteBidBag> lqw);

    Page<WbMinuteBidBagVo> queryPageList_xcx(@Param("userId") Long userId, @Param("page") Page<Object> build, @Param(Constants.WRAPPER) LambdaQueryWrapper<WbMinuteBidBag> ew);


    List<NumDTO> selectCountNum();
}
